package com.zhb.cloud.mapper;

import org.apache.ibatis.annotations.Select;

import com.zhb.cloud.model.User;

public interface UserMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(User record);

	int insertSelective(User record);

	User selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(User record);

	int updateByPrimaryKey(User record);

	@Select("SELECT user_name,gender,age,phone,email,real_name,mobile_phone FROM s_user where user_name=#{userName}")
	User getUserByUserName(String userName);
}